import axios from '@/libs/api.request'
import { getToken } from '@/libs/util'

/*
采集站上传的原始数据
 */
export const apiSearch = (page, param) => {
  return axios.request({
    url: '/api/site-source-data/_search/' + page,
    method: 'post',
    dataType: 'json',
    headers: {
      'Content-Type': 'application/json; charset=UTF-8',
      'token': getToken()
    },
    data: param
  })
}
